//==========================================================================
// Copyright (c) 2000-2008,  Elastos, Inc.  All Rights Reserved.
//==========================================================================
#include "ddk.h"

#include <stdio.h>
#include <misc.h>

EXTERN_C BOOL Init();

EXTERN_C BOOL __stdcall DllMain(
    HANDLE hDllHandle,
    DWORD dwReason,
    PVoid preserved)
{
    if (dwReason == DLL_PROCESS_DETACH) return TRUE;

    if (!Init()) {
        DPRINTF(("ERROR: Init Failed!\n"));
        return FALSE;
    }
    return TRUE;
}
